package com.hejjon.domain.request;

import com.hejjon.bean.FeatureFieldItem;
import com.hejjon.core.domain.BaseRequest;
import com.hejjon.domain.response.FeatureFieldBatchSaveResponse;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量新增业务特征字段请求实体类
 * @author: cs
 * @date: 2025-05-18 21:02:12
 * @since: 1.0
 */
public class FeatureFieldBatchSaveRequest extends BaseRequest<FeatureFieldBatchSaveResponse> {

    @NotNull(message = "业务特征ID不可为空")
    private String featureId;

    private List<FeatureFieldItem> fieldList;

    public String getFeatureId() {
        return featureId;
    }

    public void setFeatureId(String featureId) {
        this.featureId = featureId;
    }

    public List<FeatureFieldItem> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<FeatureFieldItem> fieldList) {
        this.fieldList = fieldList;
    }

    @Override
    public Class<FeatureFieldBatchSaveResponse> getResponseType() {
        return FeatureFieldBatchSaveResponse.class;
    }
}


